﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Bon_It.Model;
using Bonit_It.ViewModel;
using Bonit_It.ViewModel.Base;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace BonIt.Tests
{
    [TestClass]
    public class TUserViewModel
    {
        [TestMethod]
        public void CreateNewUser()
        {
            AllUserViewModel model = new AllUserViewModel();
            Assert.AreEqual(1,model.Source.Count);
            Assert.IsFalse(model.Source[0].IsChanged);
        }

        [TestMethod]
        public void TestRefreshLookups()
        {
            AllUserViewModel  model = new AllUserViewModel();
            model.RefreshLookups();
        }
    }

   
}
